package com.xpc.rpc.protocol.meta;

/**
 * 服务注册元数据
 */
public class ServiceMeta {

    private String interfaceName;

    /**
     * 本机的服务地址
     */
    private String serverAddress;

    /**
     * 服务端口号
     */

    private Integer serverPort;

    /**
     * Netty监听端口
     */
    private Integer registerPort;

    /**
     * 服务名称
     */
    private String applicationName;

    /**
     * 负载均衡策略
     */
    private String loanBalancedType;

    public String getLoanBalancedType() {
        return loanBalancedType;
    }

    public void setLoanBalancedType(String loanBalancedType) {
        this.loanBalancedType = loanBalancedType;
    }

    public String getInterfaceName() {
        return interfaceName;
    }

    public void setInterfaceName(String interfaceName) {
        this.interfaceName = interfaceName;
    }

    public Integer getRegisterPort() {
        return registerPort;
    }

    public void setRegisterPort(Integer registerPort) {
        this.registerPort = registerPort;
    }

    public String getApplicationName() {
        return applicationName;
    }

    public void setApplicationName(String applicationName) {
        this.applicationName = applicationName;
    }

    public String getServerAddress() {
        return serverAddress;
    }

    public void setServerAddress(String serverAddress) {
        this.serverAddress = serverAddress;
    }

    public Integer getServerPort() {
        return serverPort;
    }

    public void setServerPort(Integer serverPort) {
        this.serverPort = serverPort;
    }
}
